﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Cosmetic.Logic;

namespace WebApp.UserControl
{
    public partial class right : System.Web.UI.UserControl
    {
        private articleManger m_ProductManagers = new articleManger();
        protected void Page_Load(object sender, EventArgs e)
        {
            this.ListView2.DataSource = this.m_ProductManagers.GetALL1();
            this.ListView2.DataBind();

        }
        public string spliteStr(string title)
        {
            if (title.Length > 6)
            {
                title = title.Substring(0, 6) + "…";
            }
            return title;
        }
    }
}